package com.icss.vo;

import java.util.Date;
import java.util.Map;
import java.util.TreeMap;

import com.icss.common.vo.BasePojo;

/**
 * ~订单商品表Pojo
 * 
 * @author 郝厅
 */
public class GymOrdersGoods extends BasePojo<GymOrdersGoods>
{
	private int id;
	private int ordersId;
	private int prodId;
	private String name;
	private int num;
	private double price;
	private double totalPrice;
	private byte status;
	private Date createTime;

	/*--字符串表示--*/
	/*--对象表示--*/
	private GymOrders orders;
	private GymGoods product;
	/* 存储所有状态的容器 */
	private Map<String, String> enumsMap = new TreeMap<String, String>();

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getOrdersId()
	{
		return ordersId;
	}

	public void setOrdersId(int ordersId)
	{
		this.ordersId = ordersId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public int getNum()
	{
		return num;
	}

	public void setNum(int num)
	{
		this.num = num;
	}

	public double getPrice()
	{
		return price;
	}

	public void setPrice(double price)
	{
		this.price = price;
	}

	public double getTotalPrice()
	{
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice)
	{
		this.totalPrice = totalPrice;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public GymOrders getOrders()
	{
		return orders;
	}

	public void setOrders(GymOrders orders)
	{
		this.orders = orders;
	}

	public GymGoods getProduct()
	{
		return product;
	}

	public void setProduct(GymGoods product)
	{
		this.product = product;
	}

	public int getProdId()
	{
		return prodId;
	}

	public void setProdId(int prodId)
	{
		this.prodId = prodId;
	}

}
